import httpService from '../httpService';


/**
 * 身份证 实名认证
 * @param params 
 * @returns 
 */
function createPersonalCretiAuth(params = {}) { 
    return httpService.post(`/user/personal/creti_auth`, params);
}

/**
 * 获取个人用户其他信息
 * @returns 
 */
function getPersonalOtherInfo() { 
    return httpService.get(`/user/get/personal_other_info`);
}

/**
 * 获取个人用户证件信息
 * @param is_encry 1 0 是否脱敏返回,默认脱敏 
 * @returns 
 */
function getPersonalCertiInfo(is_encry) { 
    return httpService.get(`/user/get/personal_certi_info`, {"is_encry":is_encry});
}


export  {
    createPersonalCretiAuth,
    getPersonalOtherInfo,
    getPersonalCertiInfo,
} ;